import Vue from 'vue'
import App from './App'
import pin from './pin.js'
//引入vuex
import store from './store'

import tabBar from './components/tabbar.vue'
import kefu from './components/yu-kefu/yu-kefu.vue'
//把vuex定义成全局组件
Vue.prototype.$store = store;

Vue.component(
'tab-bar', tabBar,
'yu-kefu',kefu
)

Vue.config.productionTip = false
// Vue.prototype.$theme.primaryColor="#f37b1d"

App.mpType = 'app'

Vue.prototype.$pin = pin

const app = new Vue({
	store,
    ...App
})
app.$mount()
